cmake_minimum_required(VERSION 3.16)

project(Starviewer
    VERSION 1.1.0
    DESCRIPTION "Medical Imaging Software"
    HOMEPAGE_URL https://starviewer.org/
    LANGUAGES C CXX)

set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMake)

include(CTest)

include(Options)
include(CacheVariables)
include(BuildSettings)
include(DefaultSdkDirectories)
include(Theme)

include(GetTargetIncludes)
include(LinkLibraries)
include(Translations)

add_subdirectory(src)

if(BUILD_TESTING)
    add_subdirectory(tests)
endif()

add_translation_targets()

include(InstallTargets)
include(Installers)
